import request from "@/utils/request.js";

/*
* 创建订单
* */

export const CreateOrder = (data) => {
	return request('/user/order', 'POST', data)
}


// 创建支付订单
export const createOrderSn = (data) => {
	return request("/user/orderSn", "POST", data)
}
// 支付
export const AliPay = (data) => {
	return request("/user/pay", "get", data)
}
